{{include file="../Common/list_header"}}
	<!--content-->
	<div id="content">
	{{if value="isset($fallAttr)"}}
		<div class="content-top">
			<a href="{{U('Index/index')}}" >首页</a>
			<span>></span>
			<a href="{{U('List/index',array('cid'=>$caData['cid']))}}">{{$caData['cname']}}</a>
		</div>
	
		<div class="checked-box">
			{{foreach from="$fallAttr" key="$k" value="$v"}}
			<?php 
				$temp=$param;
				$temp[$k]=0;
			 ?>
			<div class="checked">
				<span>{{$v['name']}}:</span>
				<a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}" {{if value="$param[$k] eq 0"}}class="hover"{{endif}}>不限</a>
					{{foreach from="$v['value']" value="$vv"}}
					<?php 
						$temp[$k]=$vv['gaid'];
					 ?>
					<a href="{{U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])}}"  {{if value="$vv['gaid'] eq $param[$k]"}} class="hover" {{endif}}>{{$vv['gavalue']}}</a>
					{{endforeach}}
			</div>
			{{endforeach}}
		</div>
	{{endif}}
		<!--<div class="content-nav">
			<p class="checktext">排序:</p>
			<a href="">销量</a>
			<a href="">价格</a>
			<a href="">上架时间</a>
			<a href="">好评</a>
		</div>-->
		{{if value="$goodsData"}}
		<div class="select-end">搜索结果：</div>
		<div class="check-list">
			<ul>
				{{foreach from="$goodsData" value="$g"}}
				<li>
					<div class="shop-list-img">
						<a href="{{U('Content/index',['gid'=>$g['gid']])}}"><img src="{{$g['pic']}}" alt="" /></a>
					</div>
					<div class="shop-list-text">
						<h5>{{$g['gname']}}</h5>
						<div></div>
						<div><span style="text-decoration: line-through;font-size:14px;">¥{{$g['makertprice']}}</span>元</div>
						<div class="shop-list-money">
							<span>¥{{$g['shopprice']}}</span>元
						</div>
					</div>
				</li>
				{{endforeach}}
			</ul>
		</div>
		{{else}}
			<div class="no-goods">没有该类型商品</div>
		{{endif}}
	</div>
	<!--/content-->
	<!--footer-->
	{{include file="../Common/footer"}}
	<!--/footer-->
	</body>
</html>
